/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_pri_data_type.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_PRI_DATA_TYPE
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_pri_data_type.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h" 

CTable_PPM_PRI_DATA_TYPE::CTable_PPM_PRI_DATA_TYPE( )
 :NPCRecordSet( )
{
  setTableName( "PPM_PRI_DATA_TYPE" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  SUB_DOMIAN_ID.setField( "SUB_DOMIAN_ID", DATA_CHAR, 8, 0 );
  makeTableItem( SUB_DOMIAN_ID );
  CODE.setField( "CODE", DATA_CHAR, 8, 0 );
  makeTableItem( CODE );
  REMARK.setField( "REMARK", DATA_CHAR, 100, 0 );
  makeTableItem( REMARK );
}


CTable_PPM_PRI_DATA_TYPE::CTable_PPM_PRI_DATA_TYPE( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_PRI_DATA_TYPE" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  SUB_DOMIAN_ID.setField( "SUB_DOMIAN_ID", DATA_CHAR, 8, 0 );
  makeTableItem( SUB_DOMIAN_ID );
  CODE.setField( "CODE", DATA_CHAR, 8, 0 );
  makeTableItem( CODE );
  REMARK.setField( "REMARK", DATA_CHAR, 100, 0 );
  makeTableItem( REMARK );
}

CTable_PPM_PRI_DATA_TYPE::~CTable_PPM_PRI_DATA_TYPE( )
{
    close();
}

